using System;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;

namespace Augustu.Models.WMS
{
    [Table("warehouse_slot")]
    public class WarehouseSlot : BaseModel
    {
[Column("Id")]
         public long  Id{ get; set;}

         /// <summary>
         /// 仓库id
         /// </summary>
         [Comment("仓库id")]
         [Column("warehouse_id")]
         public long  WarehouseId{ get; set;}

         /// <summary>
         /// 库区id
         /// </summary>
         [Comment("库区id")]
         [Column("warehouse_zone_id")]
         public long  WarehouseZoneId{ get; set;}

         /// <summary>
         /// 库位编码
         /// </summary>
         [Comment("库位编码")]
         [Column("slot_code")]
         public string  SlotCode{ get; set;} = string.Empty;

         /// <summary>
         /// 长
         /// </summary>
         [Comment("长")]
         [Column("length")]
         public decimal?  Length{ get; set;}

         /// <summary>
         /// 宽
         /// </summary>
         [Comment("宽")]
         [Column("width")]
         public decimal?  Width{ get; set;}

         /// <summary>
         /// 高
         /// </summary>
         [Comment("高")]
         [Column("heigth")]
         public decimal?  Heigth{ get; set;}

         /// <summary>
         /// 容积
         /// </summary>
         [Comment("容积")]
         [Column("volume")]
         public decimal?  Volume{ get; set;}

         /// <summary>
         /// 巷道号
         /// </summary>
         [Comment("巷道号")]
         [Column("aisle_no")]
         public string  AisleNo{ get; set;} = string.Empty;

         /// <summary>
         /// 架号
         /// </summary>
         [Comment("架号")]
         [Column("shelf_no")]
         public string  ShelfNo{ get; set;} = string.Empty;

         /// <summary>
         /// 层号
         /// </summary>
         [Comment("层号")]
         [Column("tier_no")]
         public string  TierNo{ get; set;} = string.Empty;

         /// <summary>
         /// 位号
         /// </summary>
         [Comment("位号")]
         [Column("slot_no")]
         public string  SlotNo{ get; set;} = string.Empty;

         /// <summary>
         /// 是否启用
         /// </summary>
         [Comment("是否启用")]
         [Column("is_enable")]
         public bool  IsEnable{ get; set;}
[Column("update_userId")]
         public string  UpdateUserid{ get; set;} = string.Empty;

    }
}
          
